package com.cmit.upay.spring;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * <br/>
 *
 * @author liyuanchang
 * @version V1.0
 * @email liyuanchang@chinamobile.com
 * @date 2020-04-17 16:42
 */
	public class MyMethodBeforeAdvice implements MethodBeforeAdvice {
		@Override
		public void before(Method method, Object[] args, Object target) throws Throwable {
			System.out.println(String.format("%s#before正在拦截%s方法", getClass().getSimpleName(), method));
		}
	}
